<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试返回的结果</title>
    <script src="js/jquery-1.9.1.js"></script>
</head>
<body>
<div id="result"></div>
</body>
</html>
<script>
    $(function(){
        //要一下所有文章
        $.ajax({
            method:"GET",
            url:'get.php?action=get_list',
            data:''
        }).success(function(data){
               var dataObj = JSON.parse(data);
                console.log(dataObj);
//          $.each(dataObj,function(index,item){
//                console.log(item);
//          })
        })

        $.ajax({
            method:"GET",
            url:'get.php?action=get_arctype',
        }).success(function(data){
           // console.log(data);
            var dataObj = JSON.parse(data);
            console.log(dataObj);
        })
    })
</script>